package com.foreknow.dao;

import com.foreknow.entity.Disease;

import java.util.List;

public interface DiseaseMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Disease record);

    int insertSelective(Disease record);

    Disease selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Disease record);

    int updateByPrimaryKey(Disease record);
    /**
     * 分页查询
     *
     */
    List<Disease> findByPage(String param);
    /**
     * 批量删除
     */
    int deleteByIds(List<Integer> ids);

    /**
     * 高级搜索
     */
    List<Disease>heightFindDisea(Disease disease);
}